package com.teemor.tim.processor;

import com.teemor.tim.enums.UserType;
import com.teemor.tim.model.user.UserStateModel;
import com.teemor.tim.processor.state.UserState;

import java.util.List;

/**
 * @ename zhoulk
 * @cname 周李科
 * @date 2020/12/21 13:30
 */
public interface UserStateProcessor {
    void onConnect(UserState userState);

    void onDisconnect(UserState userState);

    List<UserStateModel> getUserStates(UserType userType);
}
